package com.highcom.mapper;


import com.highcom.pojo.Dept;

import java.util.List;

public interface DeptMapper {
    //查询所有
    public List<Dept> findDepts();

    //删除一条记录
    public void delDeptById(int id);

    //查询一条记录
    public Dept findDeptById(int id);

    //修改一条记录
    public void modifyDept(Dept dept);

    //添加一条记录
    public void addDept(Dept dept);

    //模糊查询
    public List<Dept> findDeptsLikeQuery(Dept dept);

}
